<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<head>

	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script src="resources/static/js/bootstrap.min.js"></script>
	
	<link rel="stylesheet" media="screen" href="resources/static/stylesheets/main.css"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
    <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.min.js" type="text/javascript"></script>

	<link rel="stylesheet" media="screen" href="resources/static/fullcalendar-1.5.3/fullcalendar/fullcalendar.css">
    <script src="resources/static/fullcalendar-1.5.3/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
    <script src="resources/static/js/renderCalendar.js" type="text/javascript"></script>

	
	
    <!-- Le styles -->
    <link href="resources/static/stylesheets/main.min.css" rel="stylesheet"/>
    <link href="resources/static/stylesheets/bootstrap.css" rel="stylesheet"/>
    

</head>
<body>

 <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="#">Nexus</a>
          
          <div class="btn-group pull-right"> 
          <c:choose>
          	<c:when test="${not empty user}">
          		<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
              <i class="icon-user"></i> ${user.name}
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
              <li><a href="myprofile">MyProfile</a></li>
              <li><a href="pendingRequests">MyRequests</a></li>
              <li class="divider"></li>
              <li><a href="logout"><i class="icon-off"></i>Logout</a></li>
            </ul>
          
         	</c:when>
         	<c:otherwise>
         		<a href="login" class="btn btn-primary btn-mini">Login</a>
         	</c:otherwise>
          </c:choose>
          </div>

          
          <div class="nav-collapse">
            <ul class="nav">
              <li><a href="dashboard">Home</a></li>
              <li><a href="classified">ToCounsel</a></li>
               
                <c:choose>
          			<c:when test="${empty user}">
			    	<li><a href="signup">Signup</a></li>
			     </c:when>
			    <c:otherwise>
				 <li class="dropdown" id="menu1">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#menu1">
						MyEvents
						<b class="caret"></b>
					</a>
				 <ul class="dropdown-menu">
					<li><a href="calendar">Full Calendar</a></li>
					<li><a href="eventlist">Event List</a></li>
				 </ul>
				 </li>
				 <li><a href="archived">Archives</a></li>
				
				 </c:otherwise>
			  </c:choose>
				
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>